package com.chixing.ih.module.task.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 目的:
 *
 * @author ：zcw
 * @version: 1.0  2020/9/25 22:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Reply implements Serializable {
    @ApiModelProperty(value = "评论回复id", required = true)
    private Long id;

    @ApiModelProperty(value = "回复内容", required = true)
    private String replyContent;

    @ApiModelProperty(value = "被回复的评论的id", required = true)
    private Long replyCommentId;

    @ApiModelProperty(value = "被回复者id", required = true)
    private Long replyReplyUserId;

    @ApiModelProperty(value = "回复本人id", required = true)
    private Long userId;


    @ApiModelProperty(value = "回复时间", required = false)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date replyCreateTime;

    @ApiModelProperty(value = "回复等级", required = false)
    private Integer replyTop;

    @ApiModelProperty(value = "逻辑删除", required = false)
    private Integer logicalDeletion;


}
